//
//  ScheduleModel.m
//  haolaDoc
//
//  Created by WayneHao on 2017/5/19.
//  Copyright © 2017年 deyi. All rights reserved.
//

#import "ScheduleModel.h"


@implementation ScheduleModel

-(instancetype)initWithDictionary:(NSDictionary *)dict{
    if(self=[super init]){
        self.doctorId=[dict objectForKey:@"doctorId"];
        self.startTime=[dict objectForKey:@"startTime"];
        self.endTime=[dict objectForKey:@"endTime"];
        self.title=[dict objectForKey:@"title"];
        self.place=[dict objectForKey:@"place"];
        self.explain=[dict objectForKey:@"explain"];
        self.isAlarm=[dict objectForKey:@"isAlarm"];
        self.alarmTime=[dict objectForKey:@"alarmTime"];
        self.mark=@"0";
        
    }
    return self;
}
+(instancetype)initWithDictionary:(NSDictionary *)dict{
    return [[self alloc]initWithDictionary:dict];
}


@end
